package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.po.v1.Fault;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by k2data on 17-11-14.
 */
@Mapper
@Repository
public interface FaultMapper extends K2Mapper<Fault> {

    List<Fault> getNotDel();

    Fault selectById(Long id);

    int delFault(Long id);

    List<Fault> getChildrens(Long parentId);
}
